import {Component, OnInit} from '@angular/core';
import {NavService} from "../../../services/nav/nav.service";
import {e} from "@angular/core/src/render3";

@Component({
  selector: 'app-news-home',
  templateUrl: './news-home.component.html',
  styleUrls: ['./news-home.component.less']
})
export class NewsHomeComponent implements OnInit {

  indexContent: number = 0;

  constructor(private navService: NavService) {

  }

  ngOnInit() {
    /*this.indexContent = this.navService.indexContent;*/
  }

  changeContent(event: number) {
     this.indexContent=event;
  }


}
